package com.easytouch.core.ftp;

public class FTPFileFilters {
    public static final FTPFileFilter ALL = new FTPFileFilter() {
        public boolean accept(FTPFile file) {
            return true;
        }
    };
    public static final FTPFileFilter NON_NULL = new FTPFileFilter() {
        public boolean accept(FTPFile file) {
            return file != null;
        }
    };
    public static final FTPFileFilter DIRECTORIES = new FTPFileFilter() {
        public boolean accept(FTPFile file) {
            return file != null && file.isDirectory();
        }
    };

    public FTPFileFilters() {
    }
}

